tmem: cleanup the pgp free path
authorBob Liu <lliubbo@gmail.com>
Wed, 12 Feb 2014 14:43:24 +0000 (22:43 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 9 Apr 2014 13:18:06 +0000 (09:18 -0400)
commitce8909b22dc5ed7e451536b789c91e6d88c29685
treeb23b37261797757629973c5409d1f27d1a2dc2d9
parent2679c716116c386deef899a8fd0bc38654fceeb9
tmem: cleanup the pgp free path

There are several functions related with pgp free, but their relationships are
not clear enough for understanding. This patch made some cleanup by remove
pgp_delist() and pgp_free_from_inv_list().

The call trace is simple now:
pgp_delist_free()
    > pgp_free()
        > __pgp_free()

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/tmem.c